package com.zhang.boot.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author zhangshaobin
 * @Date 2020/10/30
 * @Description 加密key配置
 */
@ConfigurationProperties(prefix = "rsa.encrypt")
@Configuration
@Data
public class SecretKeyConfig {
    private String privateKey;
    private String publicKey;
    private String charset = "UTF-8";
    private boolean debug = false;
}
